package com.son.hotel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.son.hotel.domain.AccommodationInfo;
import com.son.hotel.response.CustomerAndAccommodationResp;
import com.son.hotel.response.CustomerAndRoomInfoResp;
import com.son.hotel.response.RoomAccountResp;
import com.son.hotel.vo.CustomAndRoomInfo;

import java.util.List;

public interface AccommodationInfoService extends IService<AccommodationInfo> {

    /**
     * 添加住宿信息
     * @param customAndRoomInfo
     */
    public void addAccommodationInfo(CustomAndRoomInfo customAndRoomInfo);

    /**
     * 添加住宿信息
     * @param customerAndRoomInfoResp
     */
    public void addAccommodationInfo(CustomerAndRoomInfoResp customerAndRoomInfoResp);


    /**
     * 查询顾客房间信息
     * @return
     */
    List<CustomerAndRoomInfoResp> listCustomerAndRoomInfo(List<AccommodationInfo> list);


    /**
     * 统计一个月的房间入住情况
     * @return
     */
    List<RoomAccountResp> listRoomAccount(int year,int month);
}
